package com.android.basemvvm.click

import android.view.View

abstract class GlobalOnClickListener : View.OnClickListener {

    override fun onClick(v: View?) {
        if (GlobalClickTime.isFastClick()) {
            return
        } else {
            onSlowClick(v)
        }
    }

    abstract fun onSlowClick(v: View?)

}